import {h, defineComponent} from 'vue';
const Action = defineComponent({
    name: 'Action',
    inheritAttrs: false,
    props: {
        record: {
            type:Object,
            default:[]
        },
        index:{
            type: Number,
            default: 0
        },
        customRender:{
            type: Function,
            default: ()=>{}
        }
    },
    setup(props, { attrs, slots, expose }) {
        return () => {
           return props.customRender(props);
        };
    },
});
export default Action;